#include <stdio.h>

int main(int argc, char const *argv[])
{
    FILE *file = fopen("abc.txt", "r");

    if (file == NULL)
    {
        printf("打开文件失败\n");
        perror("fopen");
    }
    else
    {
        fclose(file);
    }

    return 0;
}
